package com.glsc.ngateway.common.api.oaflow.dto.oaflow;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
public class FrontFlowNode implements Serializable {

    private static final long serialVersionUID = 5680272563387565939L;

    private String nodeTaskKey;

    private String nodeTaskName;

    private String nodeTaskType;

    private String nodeTaskStatus;

    private Double nodeX;

    private Double nodeY;

    private List<NodeTaskAssignees> assignees;

    public String getNodeTaskKey() {
        return nodeTaskKey;
    }

    public void setNodeTaskKey(String nodeTaskKey) {
        this.nodeTaskKey = nodeTaskKey;
    }

    public String getNodeTaskName() {
        return nodeTaskName;
    }

    public void setNodeTaskName(String nodeTaskName) {
        this.nodeTaskName = nodeTaskName;
    }

    public String getNodeTaskType() {
        return nodeTaskType;
    }

    public void setNodeTaskType(String nodeTaskType) {
        this.nodeTaskType = nodeTaskType;
    }

    public String getNodeTaskStatus() {
        return nodeTaskStatus;
    }

    public void setNodeTaskStatus(String nodeTaskStatus) {
        this.nodeTaskStatus = nodeTaskStatus;
    }

    public List<NodeTaskAssignees> getAssignees() {
        return assignees;
    }

    public void setAssignees(List<NodeTaskAssignees> assignees) {
        this.assignees = assignees;
    }

    public Double getNodeX() {
        return nodeX;
    }

    public void setNodeX(Double nodeX) {
        this.nodeX = nodeX;
    }

    public Double getNodeY() {
        return nodeY;
    }

    public void setNodeY(Double nodeY) {
        this.nodeY = nodeY;
    }
}